package com.itheima.pattern.command.jdk;

public class Client {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();

        TurnoffThread turnoffThread = new TurnoffThread(receiver);
        Thread thread = new Thread(turnoffThread);
        thread.start();
    }
}
